<template>
  <!--广告-->
  <div id="activities">
    <section class="activities-wrap">
      <figure class="advertise">
        <img src="../../../assets/images/activities/eca4f286fde41cebb778dc4f8bf055df.jpg" alt="">
          <a href="#"></a>
      </figure>
      <figure class="advertise">
        <img src="../../../assets/images/activities/33ea4bfa05068e0741b7278fec9da8a6.jpg" alt="">
          <a href="#"></a>
      </figure>
      <figure class="advertise">
        <img src="../../../assets/images/activities/84b9558d50f5d02914e17422490c257c.jpeg" alt="">
          <a href="#"></a>
      </figure>
      <figure class="advertise">
        <img src="../../../assets/images/activities/fdc4370d1ce14a67fadc35d74209ac0f.jpg" alt="">
          <a href="#"></a>
      </figure>
    </section>
  </div>
</template>

<script>
export default {
  name: 'Activities'
}
</script>

<style scoped>
  #activities {
    width: 1220px;
    margin: 0 auto;
    overflow: hidden;
    border-radius: 8px;
    border: 1px solid rgba(0,0,0,0.14);
    box-shadow: 0 3px 8px -6px rgba(0,0,0,.1);
  }
  .activities-wrap {
    display: flex;
    height: 200px;
  }
  figure {
    position: relative;
    margin: 0;
  }
  figure > a {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    box-shadow: none;
    transition: box-shadow .3s;
  }
  figure > a:hover {
    box-shadow: inset 0 0 38px rgba(0,0,0,.08);
  }
  figure > img {
    width: 100%;
    height: 100%;
  }
</style>
